package com.panopset;

/**
 * Standard logger, droid compatible.
 * @author Karl Dinwiddie
 *
 */
public final class Logger {

    /**
     * @param msg Message to log.
     */
    public static void log(final String msg) {
        java.util.logging.Logger.getAnonymousLogger().warning(msg);
    }

    /**
     * Just print the stack trace.
     * @param t Throwable.
     */
    public static void log(final Throwable t) {
        t.printStackTrace();
    }

    /**
     * Prevent instantiation.
     */
    private Logger() {
    }
}
